![]() |
FillCRoundRect |
||||
Header: | Quickdraw.h | Carbon status: | Supported | |
Fills a rounded rectangle with the given pixel pattern, using the patCopy pattern mode.
void FillCRoundRect ( const Rect *r, SInt16 ovalWidth, SInt16 ovalHeight, PixPatHandle pp );
The rectangle that defines the rounded rectangle’s boundaries.
The width of the oval defining the rounded corner.
The height of the oval defining the rounded corner.
A handle to the PixPat structure for the pixel pattern to be used for the fill.
Use the ovalWidth and ovalHeight parameters to specify the diameters of curvature for the corners. This function ignores the pnPat, pnMode, and bkPat fields of the current graphics port and leaves the pen location unchanged.
The FillCRoundRect function may move or purge memory blocks in the application heap; do not call this function at interrupt time.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)